Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 state get wo si #1853

Closed
wants to merge 1 commit into from
Closed

V2 state get wo si #1853

wants to merge 1 commit into from

Conversation

otaviojacobi
Copy link
Contributor

No description provided.

@otaviojacobi otaviojacobi requested a review from a team November 20, 2024 16:48
@otaviojacobi otaviojacobi force-pushed the v2-state-get-wo-si branch 4 times, most recently from b919216 to e717d88 Compare November 24, 2024 11:22
device_service_environment_variable: {
$select: ['name', 'value'],
$filter: {
device: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this $filter (or some variation of it) as otherwise the expand will get all device_service_environment_variable for that server and ignore the device filter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some other idea would be to directly expand from the device on the top level to dsev but then we need to do something similar for service (which isa bit longer)

@@ -5,5 +5,12 @@
"service": "app1_service1",
"name": "name_si",
"value": "value_si"
},
"si2_svc": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This forces the state get tests to consider the case why I added the $filter on the device expand above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant